﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Presentation.Represent
{
    public partial class StudentRegister : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
         

        }

        protected void LinkButtonbirthday_Click(object sender, EventArgs e)
        {
            Calendarbirthday.Visible = true;

        }

        protected void Calendarbirthday_SelectionChanged(object sender, EventArgs e)
        {
            txtbirthday.Text = Calendarbirthday.SelectedDate.ToShortDateString();
            Calendarbirthday.Visible = false;
        }

        protected void LinkButtonprogramtime_Click(object sender, EventArgs e)
        {

            Calendarprogramtime.Visible = true;
        }

        protected void Calendarprogramtime_SelectionChanged(object sender, EventArgs e)
        {
            txtpromgramtime.Text = Calendarprogramtime.SelectedDate.ToShortDateString();
            Calendarprogramtime.Visible = false;

        }
    }
}